#include "stm32f10x.h"                  // Device header
#include "OLED.h"
#include "Encoder.h"
uint16_t Num=0;

int main(void)
{
	OLED_Init();
	Encoder_Init();
	
	OLED_ShowString(1,1,"NUM:");
	while(1)
	{
		Num+=Count_Get();
		OLED_ShowNum(1,5,Num,5);
	}
}
